﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Algorithms
{
    public class IntegerGenerator
    {
        private int[] _sampleData;

        public int[] GetRamdomInteger(uint size)
        {
            _sampleData = new int[size];
            RamdomIntegerGenerator();
            return _sampleData;
        }

        private void RamdomIntegerGenerator()
        {
            Random rGenerator = new Random();

            for (int i = 0; i < _sampleData.Length; i++)
            {
                _sampleData[i] = rGenerator.Next();
            }
        }
    }
}
